package com.opo5.logisticsmanagement.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.opo5.logisticsmanagement.Vo.CableVo;
import com.opo5.logisticsmanagement.Vo.StatisVo;
import com.opo5.logisticsmanagement.domain.Locator;
import com.opo5.logisticsmanagement.domain.Material;
import com.opo5.logisticsmanagement.Vo.PageVo;
import org.apache.ibatis.annotations.Param;

public interface MaterialService extends IService<Material> {

    IPage<Material> getPage(int currentPage,int pageSize,Material material);

    String produceNumber();

    Locator getAll(Integer id);

    PageVo getPageByCondition(@Param("currentPage") Integer currentPage, @Param("pageSize") Integer pageSize, @Param("material") Material material);
    Page<StatisVo> getPageVo(Page<CableVo> iPage);
}
